<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<br/>
<table>
<c:forEach items="${topicList}" var="topic">
<tr>
	<td>${topic.name}</td>
	<td><form action="<c:url value="/topic"/>" method="GET">
	<input type="hidden" name="topic.id" value="${topic.id }" />
		<button type="submit">Editar</button>
	</form></td>
	<td><form id="${topic.id}" action="<c:url value="/topic/delete"/>" method="POST">
	<input type="hidden" name="topic.id" value="${topic.id }" />
	<button type="submit" value="DELETE">Remover</button>
	</form></td>
</tr>
</c:forEach>
</table>



